package com.itheima.reggie.common;



public class BaseContext {
    public static ThreadLocal<Long> thread =new ThreadLocal<>();

    //设置线程
    public static void setThread(Long id){
        thread.set(id);
    }
    //获取线程
    public static Long getThread(){
        return thread.get();
    }


}
